package com.webserver.core;

import com.webserver.http.HttpServletRequest;

import java.io.IOException;
import java.net.Socket;

public class ClientHandler implements Runnable{
    Socket socket;

    public ClientHandler(Socket socket){
        this.socket = socket;
    }

    @Override
    public void run() {
        try{
            //1解析请求
            HttpServletRequest request = new HttpServletRequest(socket);

        }catch (IOException e){
            e.printStackTrace();
        }
    }


}
